// 基于template/src/widgets/{{appEntities}}/{{ctrls@FORM}}-form/{{spinalCase ctrl.codeName}}-form-vo.ts.hbs生成
import { ControlVOBase } from '@/core';
import { transformValue } from '@/utils';
import { model } from './data-type-edit-view-form-form-model';

export class FormControlVO extends ControlVOBase {
    constructor(data: any) {
        //  表单预置字段
        data.srfwfmemo = data['srfwfmemo'] ? data['srfwfmemo'] : '';
        data.srffrontuf = data['srffrontuf'] ? data['srffrontuf'] : '';
        super(data);
        //  表单自持属性
        this.$ownKeys = ['srfupdatedate', 'srforikey', 'srfkey', 'srfmajortext', 'srftempmode', 'srfuf', 'srfdeid', 'srfsourcekey', 'slider', 'slider_range', 'slier_sample', 'slider_samples', 'checkboxlist', 'checkboxlist_sample', 'checkboxlist_samples', 'formitem7', 'listbox_mul', 'listbox_sample', 'listbox_samples', 'listboxpicker', 'listboxpicker_mul', 'listboxpicker_sample', 'listboxpicker_samples', 'picture_one', 'picture_one_sample', 'picture_one_object', 'picture_one_raw', 'picture_one_raw_sample', 'picture_one_raw_object', 'upload_one', 'upload_one_sample', 'fileupload_one_object', 'upload', 'upload_sample', 'upload_objects', 'formitem18', 'picture_sample', 'picture_objects', 'colorspan', 'coloritem', 'afterspan', 'afteritem', 'assspan', 'assitem', 'formitem1', 'formitem', 'formitem15', 'formitem2', 'formitem3', 'formitem16', 'formitem4', 'formitem17', 'formitem5', 'formitem19', 'field26', 'field28', 'field01', 'formitem20', 'field5', 'field7', 'formitem8', 'formitem6', 'formitem22', 'formitem21', 'formitem14', 'formitem10', 'formitem9', 'formitem12', 'formitem11', 'field25', 'formitem13', 'ibizsample0001id'];
    }
    get srfupdatedate() {
        return this.$DO.updatedate;
    }
    set srfupdatedate(value: any) {
        this.$DO.updatedate = value;
    }
    get srfkey() {
        return this.$DO.ibizsample0001id;
    }
    set srfkey(value: any) {
        this.$DO.ibizsample0001id = value;
    }
    get srfmajortext() {
        return this.$DO.ibizsample0001name;
    }
    set srfmajortext(value: any) {
        this.$DO.ibizsample0001name = value;
    }
    get checkboxlist() {
        return this.$DO.field04;
    }
    set checkboxlist(value: any) {
        this.$DO.field04 = value;
    }
    get listboxpicker() {
        return this.$DO.field7;
    }
    set listboxpicker(value: any) {
        this.$DO.field7 = value;
    }
    get listboxpicker_mul() {
        return this.$DO.field25;
    }
    set listboxpicker_mul(value: any) {
        this.$DO.field25 = value;
    }
    get listboxpicker_sample() {
        return this.$DO.field02;
    }
    set listboxpicker_sample(value: any) {
        this.$DO.field02 = value;
    }
    get listboxpicker_samples() {
        return this.$DO.field2;
    }
    set listboxpicker_samples(value: any) {
        this.$DO.field2 = value;
    }
    get colorspan() {
        return this.$DO.field07;
    }
    set colorspan(value: any) {
        this.$DO.field07 = value;
    }
    get coloritem() {
        return this.$DO.field07;
    }
    set coloritem(value: any) {
        this.$DO.field07 = value;
    }
    get afterspan() {
        return this.$DO.field3;
    }
    set afterspan(value: any) {
        this.$DO.field3 = value;
    }
    get afteritem() {
        return this.$DO.field3;
    }
    set afteritem(value: any) {
        this.$DO.field3 = value;
    }
    get assspan() {
        return this.$DO.ibizsample0002name;
    }
    set assspan(value: any) {
        this.$DO.ibizsample0002name = value;
    }
    get assitem() {
        return this.$DO.ibizsample0002name;
    }
    set assitem(value: any) {
        this.$DO.ibizsample0002name = value;
    }
    get formitem() {
        return this.$DO.field4;
    }
    set formitem(value: any) {
        this.$DO.field4 = value;
    }
    get formitem15() {
        return this.$DO.field4;
    }
    set formitem15(value: any) {
        this.$DO.field4 = value;
    }
    get formitem2() {
        return this.$DO.field04;
    }
    set formitem2(value: any) {
        this.$DO.field04 = value;
    }
    get formitem3() {
        return this.$DO.field6;
    }
    set formitem3(value: any) {
        this.$DO.field6 = value;
    }
    get formitem16() {
        return this.$DO.field6;
    }
    set formitem16(value: any) {
        this.$DO.field6 = value;
    }
    get formitem4() {
        return this.$DO.field9;
    }
    set formitem4(value: any) {
        this.$DO.field9 = value;
    }
    get formitem17() {
        return this.$DO.field9;
    }
    set formitem17(value: any) {
        this.$DO.field9 = value;
    }
    get formitem5() {
        return this.$DO.field8;
    }
    set formitem5(value: any) {
        this.$DO.field8 = value;
    }
    get formitem19() {
        return this.$DO.field8;
    }
    set formitem19(value: any) {
        this.$DO.field8 = value;
    }
    get field26() {
        return this.$DO.field26;
    }
    set field26(value: any) {
        this.$DO.field26 = value;
    }
    get field28() {
        return this.$DO.field28;
    }
    set field28(value: any) {
        this.$DO.field28 = value;
    }
    get field01() {
        return this.$DO.field01;
    }
    set field01(value: any) {
        this.$DO.field01 = value;
    }
    get formitem20() {
        return this.$DO.field01;
    }
    set formitem20(value: any) {
        this.$DO.field01 = value;
    }
    get field5() {
        return this.$DO.field5;
    }
    set field5(value: any) {
        this.$DO.field5 = value;
    }
    get field7() {
        return this.$DO.field7;
    }
    set field7(value: any) {
        this.$DO.field7 = value;
    }
    get formitem14() {
        return this.$DO.field22;
    }
    set formitem14(value: any) {
        this.$DO.field22 = value;
    }
    get formitem9() {
        return this.$DO.field22;
    }
    set formitem9(value: any) {
        this.$DO.field22 = value;
    }
    get formitem12() {
        return this.$DO.field23;
    }
    set formitem12(value: any) {
        this.$DO.field23 = value;
    }
    get formitem11() {
        return this.$DO.field23;
    }
    set formitem11(value: any) {
        this.$DO.field23 = value;
    }
    get field25() {
        return this.$DO.field25;
    }
    set field25(value: any) {
        this.$DO.field25 = value;
    }
    get formitem13() {
        return this.$DO.field25;
    }
    set formitem13(value: any) {
        this.$DO.field25 = value;
    }
    get ibizsample0001id() {
        return this.$DO.ibizsample0001id;
    }
    set ibizsample0001id(value: any) {
        this.$DO.ibizsample0001id = value;
    }
    // 界面主键标识
    get ibizsample0001() {
        return this.$DO.ibizsample0001id;
    }

    set ibizsample0001(value: any) {
        this.$DO.ibizsample0001id = value;
    }

    //  工作流预置字段
    srfwfmemo: any;
    srffrontuf: any;

    //  无实体属性表单项
    get srftempmode() {
        return this.$DO.srftempmode;
    }

    set srftempmode(value: any) {
        this.$DO.srftempmode = value;
    }
    get slider() {
        return this.$DO.slider;
    }

    set slider(value: any) {
        this.$DO.slider = value;
    }
    get slider_range() {
        return this.$DO.slider_range;
    }

    set slider_range(value: any) {
        this.$DO.slider_range = value;
    }
    get slier_sample() {
        return this.$DO.slier_sample;
    }

    set slier_sample(value: any) {
        this.$DO.slier_sample = value;
    }
    get slider_samples() {
        return this.$DO.slider_samples;
    }

    set slider_samples(value: any) {
        this.$DO.slider_samples = value;
    }
    get checkboxlist_sample() {
        return this.$DO.checkboxlist_sample;
    }

    set checkboxlist_sample(value: any) {
        this.$DO.checkboxlist_sample = value;
    }
    get checkboxlist_samples() {
        return this.$DO.checkboxlist_samples;
    }

    set checkboxlist_samples(value: any) {
        this.$DO.checkboxlist_samples = value;
    }
    get formitem7() {
        return this.$DO.formitem7;
    }

    set formitem7(value: any) {
        this.$DO.formitem7 = value;
    }
    get listbox_mul() {
        return this.$DO.listbox_mul;
    }

    set listbox_mul(value: any) {
        this.$DO.listbox_mul = value;
    }
    get listbox_sample() {
        return this.$DO.listbox_sample;
    }

    set listbox_sample(value: any) {
        this.$DO.listbox_sample = value;
    }
    get listbox_samples() {
        return this.$DO.listbox_samples;
    }

    set listbox_samples(value: any) {
        this.$DO.listbox_samples = value;
    }
    get picture_one() {
        return this.$DO.picture_one;
    }

    set picture_one(value: any) {
        this.$DO.picture_one = value;
    }
    get picture_one_sample() {
        return this.$DO.picture_one_sample;
    }

    set picture_one_sample(value: any) {
        this.$DO.picture_one_sample = value;
    }
    get picture_one_object() {
        return this.$DO.picture_one_object;
    }

    set picture_one_object(value: any) {
        this.$DO.picture_one_object = value;
    }
    get picture_one_raw() {
        return this.$DO.picture_one_raw;
    }

    set picture_one_raw(value: any) {
        this.$DO.picture_one_raw = value;
    }
    get picture_one_raw_sample() {
        return this.$DO.picture_one_raw_sample;
    }

    set picture_one_raw_sample(value: any) {
        this.$DO.picture_one_raw_sample = value;
    }
    get picture_one_raw_object() {
        return this.$DO.picture_one_raw_object;
    }

    set picture_one_raw_object(value: any) {
        this.$DO.picture_one_raw_object = value;
    }
    get upload_one() {
        return this.$DO.upload_one;
    }

    set upload_one(value: any) {
        this.$DO.upload_one = value;
    }
    get upload_one_sample() {
        return this.$DO.upload_one_sample;
    }

    set upload_one_sample(value: any) {
        this.$DO.upload_one_sample = value;
    }
    get fileupload_one_object() {
        return this.$DO.fileupload_one_object;
    }

    set fileupload_one_object(value: any) {
        this.$DO.fileupload_one_object = value;
    }
    get upload() {
        return this.$DO.upload;
    }

    set upload(value: any) {
        this.$DO.upload = value;
    }
    get upload_sample() {
        return this.$DO.upload_sample;
    }

    set upload_sample(value: any) {
        this.$DO.upload_sample = value;
    }
    get upload_objects() {
        return this.$DO.upload_objects;
    }

    set upload_objects(value: any) {
        this.$DO.upload_objects = value;
    }
    get formitem18() {
        return this.$DO.formitem18;
    }

    set formitem18(value: any) {
        this.$DO.formitem18 = value;
    }
    get picture_sample() {
        return this.$DO.picture_sample;
    }

    set picture_sample(value: any) {
        this.$DO.picture_sample = value;
    }
    get picture_objects() {
        return this.$DO.picture_objects;
    }

    set picture_objects(value: any) {
        this.$DO.picture_objects = value;
    }
    get formitem1() {
        return this.$DO.formitem1;
    }

    set formitem1(value: any) {
        this.$DO.formitem1 = value;
    }
    get formitem8() {
        return this.$DO.formitem8;
    }

    set formitem8(value: any) {
        this.$DO.formitem8 = value;
    }
    get formitem6() {
        return this.$DO.formitem6;
    }

    set formitem6(value: any) {
        this.$DO.formitem6 = value;
    }
    get formitem22() {
        return this.$DO.formitem22;
    }

    set formitem22(value: any) {
        this.$DO.formitem22 = value;
    }
    get formitem21() {
        return this.$DO.formitem21;
    }

    set formitem21(value: any) {
        this.$DO.formitem21 = value;
    }
    get formitem10() {
        return this.$DO.formitem10;
    }

    set formitem10(value: any) {
        this.$DO.formitem10 = value;
    }

    //  表单重复器

    /**
     * 返回后台数据
     *
     * @return {*} 
     * @memberof FormControlVO
     */
	public getDo() {
        return {
            srffrontuf: this.srffrontuf,
            field04: this.$DO.field04,
field7: this.$DO.field7,
field25: this.$DO.field25,
field02: this.$DO.field02,
field2: this.$DO.field2,
field07: this.$DO.field07,
field3: this.$DO.field3,
ibizsample0002name: this.$DO.ibizsample0002name,
field4: this.$DO.field4,
field6: this.$DO.field6,
field9: this.$DO.field9,
field8: this.$DO.field8,
field26: this.$DO.field26,
field28: this.$DO.field28,
field01: this.$DO.field01,
field5: this.$DO.field5,
field22: this.$DO.field22,
field23: this.$DO.field23,
updatedate: this.$DO.updatedate,
ibizsample0001id: this.$DO.ibizsample0001id,
ibizsample0001name: this.$DO.ibizsample0001name,
slider: this.slider,
slider_range: this.slider_range,
slier_sample: this.slier_sample,
slider_samples: this.slider_samples,
checkboxlist_sample: this.checkboxlist_sample,
checkboxlist_samples: this.checkboxlist_samples,
formitem7: this.formitem7,
listbox_mul: this.listbox_mul,
listbox_sample: this.listbox_sample,
listbox_samples: this.listbox_samples,
picture_one: this.picture_one,
picture_one_sample: this.picture_one_sample,
picture_one_object: this.picture_one_object,
picture_one_raw: this.picture_one_raw,
picture_one_raw_sample: this.picture_one_raw_sample,
picture_one_raw_object: this.picture_one_raw_object,
upload_one: this.upload_one,
upload_one_sample: this.upload_one_sample,
fileupload_one_object: this.fileupload_one_object,
upload: this.upload,
upload_sample: this.upload_sample,
upload_objects: this.upload_objects,
formitem18: this.formitem18,
picture_sample: this.picture_sample,
picture_objects: this.picture_objects,
formitem1: this.formitem1,
formitem8: this.formitem8,
formitem6: this.formitem6,
formitem22: this.formitem22,
formitem21: this.formitem21,
formitem10: this.formitem10,
        }
	}

}